package cn.tianya.irock.data.model;

import java.util.Date;

public class Attachment {
	private int attachmentId;
	private int userId;
	private int postId;
	private int siteId;
	private int totalDownloads;
	private long size;
	
	private String fullPathname;
	private String filename;
	private String contentType;
	private String description;
	private String extension;
	private boolean hasThumb;
	private Date created;
	
	public String getExtension() {
		return extension;
	}
	public void setExtension(String extension) {
		this.extension = extension;
	}
	
	public int getAttachmentId() {
		return attachmentId;
	}
	public void setAttachmentId(int attachmentId) {
		this.attachmentId = attachmentId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getPostId() {
		return postId;
	}
	public void setPostId(int postId) {
		this.postId = postId;
	}
	public int getSiteId() {
		return siteId;
	}
	public void setSiteId(int siteId) {
		this.siteId = siteId;
	}
	public int getTotalDownloads() {
		return totalDownloads;
	}
	public void setTotalDownloads(int totalDownloads) {
		this.totalDownloads = totalDownloads;
	}
	public long getSize() {
		return size;
	}
	public void setSize(long size) {
		this.size = size;
	}
	public String getFullPathname() {
		return fullPathname;
	}
	public void setFullPathname(String fullPathname) {
		this.fullPathname = fullPathname;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public boolean isHasThumb() {
		return hasThumb;
	}
	public void setHasThumb(boolean hasThumb) {
		this.hasThumb = hasThumb;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
}
